<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
        <style type="text/css">
            body{
                width: 100vw;
                height: 100vh;
            }
        
        </style>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
    </head>
    <body>
        <script type="text/javascript">
            var body = document.querySelector("body");
        
            body.ontouchstart = function(e){
                console.log(e);
                console.log("触摸开始事件");
            }
            body.ontouchmove = function (e) {
                    console.log(e);
                    console.log("触摸移动事件");
                }
            body.ontouchend = function (e) {
                        console.log(e);
                        console.log("触摸结束事件");
                    }
        
            
        </script>
    </body>
</html>